package model;

public class Lesson {
	private int id;
	private String dateTime;
	private Instuctor instuctor;
	private String iName;
	
	
	public String getDateTime() {
		return dateTime;
	}
	public void setDateTime(String dateTime) {
		this.dateTime = dateTime;
	}
	public Instuctor getInstuctor() {
		return instuctor;
	}
	public void setInstuctor(Instuctor instuctor) {
		this.instuctor = instuctor;
	}
	
	public void setIName()
	{
		this.iName = instuctor.getName();
	}
	public String getIname() {
		return iName;
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	
	

}
